package com.syyo.gulimall.order.feign;

import com.syyo.common.domain.ResultVo;
import com.syyo.common.vo.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author: wang
 * @date: 2021/3/2 16:02
 * @Description:
 */
@FeignClient("gulimall-product")
public interface ProductFeign {

    @GetMapping("/product/spuinfo/skuId/{skuId}")
    public ResultVo getSpuBySkuId(@PathVariable("skuId") Long skuId);

}
